Documentation > CMS Template API Library > Util > MakeList(Int32[])
MakeList
            Convenience method for making a list of strings. You may pass an array of ints or a variable length list of ints like 
            List
public List<Int32> MakeList(Int32[])
Returns
List of ints
Parameters
| Name | Description | Type | 
|---|---|---|
| items | The items to turn into a list of ints. | System.Int32[] | 
Code Example
C#
Sample:
            
             List<int> list = Util.MakeList(4,8,15,16,23,42);
            
            
